package com.leeon.inner;

public class MethonInnerClass {

    private int i = 20;

    private void show(){

        class Inner{

            private void innerShow(){
                System.out.println("innerShow i = " + i);
            }

        }

        Inner inner = new Inner();
        inner.innerShow();

    }

    public static void main(String[] args){
        MethonInnerClass methonInnerClass = new MethonInnerClass();
        methonInnerClass.show();
    }

}
